Change Member Project Role

Change a member's role in a project

Request
path Parameters
projectId
required
string
userId
required
string
Request Body schema: application/json
denyMembersManagement
boolean
role
required
string (Role)
Enum: "owner" "annotator" "engineer" "annotationManager" "owner" "annotator" "engineer" "annotationManager"
Responses
200

Ok

patch/projects/{projectId}/members/{userId}
Request samples
application/json
{
  • "denyMembersManagement": true,
  • "role": "owner"
}
Response samples
application/json
{
  • "role": "engineer"
}